<%@ taglib uri="http://waffle.codehaus.org" prefix="w" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<html>
<head>
    <title>${projeto}</title>
	<link rel="stylesheet" type="text/css" href="css/theme.css" />
	<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>

<script language="javascript" type="text/javascript" src="js/soNumero.js"></script>
<script language="javascript" type="text/javascript" src="js/prototype.js"></script>

<script language="javascript" type="text/javascript">
	function inicio() {
		document.getElementById('usuario.nome').focus();
	}
	
	function chamaCadastro() {
		location.href = 'usuario.cadastroUsuario.logic';
	}
	
</script>

<body onload="inicio()">

<div id="container">
	<div id="content">		
		<div id="box">
			<h3 id="consulta"><fmt:message key="lbl.consulta_usuario"/></h3>
	        <form action="usuario.listagemUsuario.logic" id="form" name="form">
	        	<fieldset id="dados">
	               	<legend><fmt:message key="lbl.dados_consulta"/></legend>
	                <label for="nome"><fmt:message key="lbl.nome"/> : </label>
	                <input name="usuario.nome" id="usuario.nome" type="text" tabindex="1" size="105" maxlength="100"/>
	                <br/>
	            </fieldset>
	            <div align="center">
	            	<input id="button" type="submit" value="<fmt:message key="lbl.consultar"/>"/> 
	              	<input id="button" type="button" value="<fmt:message key="lbl.incluir"/>" onclick="chamaCadastro();"/>
	            </div>
			</form>
		</div>
	</div>
</div>

</body>
</html>